package homework;

public class CarTest1 {
    public static void main(String[] args) {
        Car1 bm=new Car1();
        bm.brand="宝马";
        bm.color="白";
        bm.price=500000;
        bm.capacity=5;

        bm.start();
        bm.run();
        bm.stop();

        Car1 bc=new Car1();
        bc.brand="奔驰";
        bc.color="黑";
        bc.price=600000;
        bc.capacity=7;

        bc.start();
        bc.run();
        bc.stop();
    }
}
